<?php
/*
 * Created on 03.01.2006
 *
 */

/**
 * Handler for xics help link. xbt means xics base tags, which are for phpinchains version of xics.
 */
class xbt_helplinkHandler 
{

    function startElement (& $sender, $attrs, $line)
    {
        if (!isset($attrs['value']))
        {
            die ("Attribute value is missing in xbt:helplink tag in line $line\n");
        }
        $sender->appendCode('$out->write(helplink('.$attrs['value'].'));'."\n");
    }
    
    function endElement (& $sender)
    {
    
    }

}

?>
